package com.maimao.model.echarts.enums;

import lombok.Getter;

/**
 * 评论折线聚合类型
 * @author MaoLin Wang
 * @date 2021/3/28 10:18 下午
 */
@Getter
public enum CommentAggTimeType {
    YEAR(1, "按年"),
    MONTH(2, "按月"),
    DAY(3, "按日");
    private int code;
    private String msg;

    CommentAggTimeType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
